package com.harry.resource.workflow.entity;

import static com.harry.configuration.ConstSettings.BASIC_LENGTH;
import static com.harry.configuration.ConstSettings.TEXT_LENGTH;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.harry.basis.BasePoEntity;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
public class WorkStatePropDefinition extends BasePoEntity {

	private static final long serialVersionUID = 1L;

	@Column(length = BASIC_LENGTH)
	private String entityType;

	@Column(length = TEXT_LENGTH, nullable = false)
	private String property;

	@Column(columnDefinition = TEXT_COLUMN)
	private String initialValue;
}
